﻿<Window x:Class="Giraffe.Client.Shell.Shell"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Common="clr-namespace:Giraffe.Client.Common;assembly=Giraffe.Client.Common"
    xmlns:Constants="clr-namespace:Giraffe.Client.Common.Constants;assembly=Giraffe.Client.Common" 
    xmlns:cal="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation" 
    Title="Giraffe" 
    MinWidth="50" Height="300"
    SizeToContent="Width"
    WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition MinHeight="50"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <ContentControl Grid.Row="0" cal:RegionManager.RegionName="{x:Static Constants:RegionNames.MainMenu}" 
                        cal:RegionManager.RegionContext="{Binding}"/>
        <ContentControl Grid.Row="1" cal:RegionManager.RegionName="{x:Static Constants:RegionNames.MainContacts}" 
                        cal:RegionManager.RegionContext="{Binding}"/>
        <ContentControl Grid.Row="2"  cal:RegionManager.RegionName="{x:Static Constants:RegionNames.MainToolBar}" 
                        cal:RegionManager.RegionContext="{Binding}"/>
    </Grid>
</Window>
